package com.lframework.xingyun.basedata.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import com.lframework.starter.web.core.dto.BaseDto;
import com.lframework.starter.web.core.entity.BaseEntity;
import lombok.Data;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 */
@Data
@TableName("base_data_product_spec")
public class ProductSpec extends BaseEntity implements BaseDto {

    private static final long serialVersionUID = 1L;

    public static final String CACHE_NAME = "ProductSpec";

    /**
     * ID
     */
    private String id;

    /**
     * 主商品id
     */
    private String productId;

    /**
     * 属性id
     */
    private String propertyId;

    /**
     * 属系值id
     */
    private String itemId;

    /**
     * 采购价
     */
    private BigDecimal purchasePrice;

    /**
     * 零售价
     */
    private BigDecimal retailPrice;

    /**
     * 销售价
     */
    private BigDecimal salePrice;

    /**
     * 是否可用
     */
    private Boolean available;

}

